package cn.wolfcode.shop.cloud.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by wolfcode-lanxw
 */
@Setter@Getter@NoArgsConstructor@AllArgsConstructor
public class CodeMsg {

    public static final CodeMsg DEFAULT_ERROR = new CodeMsg(500000, "服务器繁忙");
    public static final CodeMsg DEFULT_ARGS_ERROR = new CodeMsg(500003, "参数异常");
    public static final CodeMsg TOO_MANY_REQUESTS = new CodeMsg(500429, "你请求的太多了, 处理不过来了");

    private Integer code;
    private String msg;
}
